home *** CD-ROM | disk | FTP | other *** search
- /* term.h */
- #define MSG_DEBUG 300
- #define MSG_PAINT 200
- #define MSG_BREAK 201
- #define MSG_ABOUT 1
- #define MSG_COM1 11
- #define MSG_COM2 12
- #define MSG_COM3 13
- #define MSG_COM4 14
- #define MSG_1200 21
- #define MSG_2400 22
- #define MSG_4800 23
- #define MSG_9600 24
- #define MSG_19200 25
- #define MSG_38400 26
- #define MSG_57600 27
- #define MSG_115200 28
- #define MSG_NONE 31
- #define MSG_EVEN 32
- #define MSG_ODD 33
- #define MSG_1_SB 41
- #define MSG_2_SB 42
- #define MSG_7_DB 43
- #define MSG_8_DB 44
- #define MSG_REG_0 50
- #define MSG_REG_1 51
- #define MSG_REG_2 52
- #define MSG_REG_3 53
- #define MSG_REG_4 54
- #define MSG_REG_5 55
- #define MSG_REG_6 56
- #define MSG_EXIT 61
- #define MSG_ONLINE 62
- #define MSG_OFFLINE 63
- #define MSG_LOAD 64
- #define MSG_SAVE 65
- #define MSG_ASCII_TX 71
- #define MSG_ASCII_RX 72
- #define MSG_XMODEM_TX 73
- #define MSG_XMODEM_RX 74
- #define MSG_YMODEM_TX 75
- #define MSG_YMODEM_RX 76
- #define MSG_INIT_MODEM 79
- #define MSG_DTR_ON 81
- #define MSG_DTR_OFF 82
- #define MSG_RTS_ON 83
- #define MSG_RTS_OFF 84
-
- int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int);
- BOOL InitApplication(HANDLE);
- BOOL InitInstance(HANDLE, int);
- long FAR PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM);
- void ProcessChar(char);
-
- /*
- ** 1) Set AT_COMMAND_SET to 1 if you are using a HAYES AT command set
- ** compatible modem, else set to 0.
- ** 2) Set RTS_CTS_CONTROL to 1 if talking to a modem that requires flow
- ** control.
- ** 3) If you are using a null modem cable for a direct PC to PC link, don't
- ** set RTS_CTS_CONTROL to 1 unless you are absolutely sure that RTS and
- ** CTS are switched in the null modem cable.
- */
-
- #define AT_COMMAND_SET 1
- #define RTS_CTS_CONTROL 0
- #define RXBUFFERCODE Size2K